/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: mirac
 * Date: 2025-07-25
 * Time: 22:39
 */
public class Main {
    public static void main(String[] args) {
        //装箱
        Integer i1 = Integer.valueOf(10);  //显式
        Integer i2 = 10;  //隐式
        System.out.println(i1);
        System.out.println(i2);

        //拆箱
        Integer a = 20;
        int i3 = a.intValue();  //显式
        int i4 = a;  //隐式
        System.out.println(i3);
        System.out.println(i4);
    }
}
